package org.eddm.list;

import java.awt.event.MouseListener;
import java.util.List;

import javax.swing.JList;
import javax.swing.ListSelectionModel;
import javax.swing.SwingUtilities;

import org.w3c.dom.events.MouseEvent;

public class EDDMJList extends JList{
	
	public EDDMJList(List<String> uris) {
		super(uris.toArray());
		setSelectionMode(ListSelectionModel.SINGLE_INTERVAL_SELECTION);
		setLayoutOrientation(JList.VERTICAL);
		//setVisibleRowCount(-1);
		setDragEnabled(true);
	}
}
